<?php
/**
 * 编辑保存功能
 *
 *
 **/


session_start();
if(empty($_SESSION['admin_email'])) {
    echo "尚未登录，请先登录。<a href='index.php?c=login'>登录页面</a>";
    exit();
}

//获取文章数据
$articleId=$_POST['article_id'];
$articleTitle= $_POST['article_title'];
$categoryId= $_POST['category_id'];
$intro= $_POST['intro'];
$articleContent=$_POST['article_content'];

include_once APP_PATH ."/model/article_edit_save.php";
include_once APP_PATH ."/view/article_edit_save.php";